ostbuild: Copy snapshot JSON into artifact trees
authorColin Walters <walters@verbum.org>
Tue, 28 Feb 2012 00:28:52 +0000 (19:28 -0500)
committerColin Walters <walters@verbum.org>
Tue, 13 Mar 2012 14:39:25 +0000 (10:39 -0400)
This is kind of a hack...but...

src/ostbuild/pyostbuild/builtin_chroot_compile_one.py

index 35038055a295b2ac0e8b3b99ea97813cb22dc132..58f06fec3754767d0a032cb2dfa94ed1975659b2 100755 (executable)
@@ -141,5 +141,7 @@ class OstbuildChrootCompileOne(builtins.Builtin):
         env_copy = dict(buildutil.BUILD_ENV)
         env_copy['PWD'] = chroot_sourcedir
         run_sync(child_args, env=env_copy, keep_stdin=args.debug_shell)
+
+        shutil.copy(build_manifest_path, resultdir)
         
 builtins.register(OstbuildChrootCompileOne)